<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 数组坍塌 => 当数组中的元素被删除之后 后面的元素会占据前面的位置
    var arr = [2,4,6,6,9,7,1,8]
</script>
</html>